﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AccompanyCabinet.Model
{


    public class FileDownPercentageChangedEventArgs : System.EventArgs
    {
        /// <summary>
        /// 文件信息
        /// </summary>
        public PartionFileInfo PartionFileInfo { get; set; }
        /// <summary>
        /// 当前文件进度
        /// </summary>
        public byte CurrentFilePercentage { get; set; }
        /// <summary>
        /// 所有文件总体进度
        /// </summary>
        public byte TotalFilesPercentage { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public byte[] Data { get; set; }
        /// <summary>
        /// 分区索引
        /// </summary>

        public uint PartionIndex { get; set; }

    }

    public class SynchronizedTempFileEventArgs : System.EventArgs
    {
        /// <summary>
        /// 当前文件进度
        /// </summary>
        public byte CurrentFilePercentage { get; set; }
        /// <summary>
        /// 所有文件总体进度
        /// </summary>
        public byte TotalFilesPercentage { get; set; }
    }
}
